export default  class CommonFinal{

  static readonly APP_TAB_INDEX_0 = 0
  static readonly APP_TAB_INDEX_1 = 1
  static readonly APP_TAB_INDEX_2 = 2

  //这个是我自己本地的环境;
  //一般情况下,app都是内置  域名
  // static readonly APP_HTTP_URL = 'http://www.baidu.com/'
  // static readonly APP_HTTP_URL = 'http://www.taobao.com/'
  static readonly APP_HTTP_URL = 'http://192.168.31.191:9998/'

  static readonly PF_SAVE_DATA_DOMAIN = 0x0001

  static readonly PF_SAVE_DATA_NAME = 'default_name'

  /**
   * Input length of the account.
   */
  static readonly INPUT_ACCOUNT_LENGTH = 11;

  /**
   *  Input length of the password.
   */
  static readonly INPUT_PASSWORD_LENGTH = 8;

  /**
   *  Left padding of the input box
   */
  static readonly INPUT_PADDING_LEFT = 0;

  /**
   * Delay time of simulated login
   */
  static readonly LOGIN_DELAY_TIME = 2000;

  /**
   * Common Spacing of Components
   */
  static readonly COMMON_SPACE = 12;

  /**
   * Title text of the home page
   */
  static readonly HOME_TITLE = '首页';

  /**
   * Title text of the setting page
   */
  static readonly MINE_TITLE = '我的';

  /**
   * Spacing of other login methods
   */
  static readonly LOGIN_METHODS_SPACE = 44;

  /**
   * The width or height of the component is spread across the parent component.
   */
  static readonly FULL_PARENT = '100%';

  /**
   * The width of button
   */
  static readonly BUTTON_WIDTH = '90%';

  /**
   * The width of setting list
   */
  static readonly SET_LIST_WIDTH = '42%';

  /**
   * Home tab index
   */
  static readonly HOME_TAB_INDEX = 0;

  /**
   * Mine tab index
   */
  static readonly MINE_TAB_INDEX = 1;

}